#ifndef _PAGE_H_
#define _PAGE_H_

#include "BufferManager.h"
#include <iostream>

class Page
{
public:
	Page(){};
	Page(int size, BufferManager* manager);
	~Page();

	bool LoadFromFile();
	bool SaveToFile();

public:
	int pageSize;
	int pageId;
	bool isInMem;

	char * buffer;
	BufferManager* bm;

};

#endif
